package service.impl;

import service.CommentService;
import bean.ArticleComment;
import dao.ArticleCommentDao;

public class CommentServiceImpl implements CommentService {
	private ArticleCommentDao articleCommentDao;
	@Override
	public boolean addComment(ArticleComment articleComment) {
		articleCommentDao.addArticleComment(articleComment);
		return true;
	}

	@Override
	public boolean deleteComment(ArticleComment articleComment) {
		articleCommentDao.deleteArticleComment(articleComment);
		return true;
	}

	public ArticleCommentDao getArticleCommentDao() {
		return articleCommentDao;
	}

	public void setArticleCommentDao(ArticleCommentDao articleCommentDao) {
		this.articleCommentDao = articleCommentDao;
	}

}
